CPPSRCS += PCResourceUI.cpp
CPPSRCS += PCResource.cpp

DEPPATH += --dep-path application
VPATH += :application

CFLAGS += -Iapplication

FONT_SRC = $(shell find -L $(LVGL_DIR)/application/fonts -name \*.c)
THEME_SRC = $(shell find -L $(LVGL_DIR)/application/themes -name \*.c)
IMAGE_SRC = $(shell find -L $(LVGL_DIR)/application/images -name \*.c)

CSRCS += $(notdir $(FONT_SRC))
CSRCS += $(notdir $(THEME_SRC))
CSRCS += $(notdir $(IMAGE_SRC))

VPATH += :$(sort $(dir $(FONT_SRC)))
VPATH += :$(sort $(dir $(THEME_SRC)))
VPATH += :$(sort $(dir $(IMAGE_SRC)))

CFLAGS += -I$(sort $(dir $(FONT_SRC)))
CFLAGS += -I$(sort $(dir $(THEME_SRC)))
CFLAGS += -I$(sort $(dir $(IMAGE_SRC)))
